package com.fh.test.log4j.demo;

import com.tul.cusa.common.log.intf.ILogTracer;
import com.tul.cusa.common.log.LogTracerFactory;

/**
 * @author tuliang
 */
public class App {
	/**
	 * 日志类
	 */
	private static final ILogTracer TRACER = LogTracerFactory.getTracer(App.class);

	public static void main(String[] args) {
		log();
	}

	/**
	 * 输出日志示例函数
	 * @return
	 */
	public static boolean log() {
		TRACER.info("大功告成，我的log写进log4j-demo.log文件了！");
		return true;
	}

}
